SftTabs/NET 6.0

Switching Event, SftTabs Class

Softel vdm, Inc.

Occurs when the current tab page is about to change.

Syntax      SftTabs Class (Softelvdm.SftTabsNET)

VB   

Public Event Switching As SwitchingEventHandler

C#   

public event SwitchingEventHandler Switching;

C++   

public: event SwitchingEventHandler Switching;

Event Data

The Switching event handler receives an argument of type SwitchingEventArgs containing data related to this event.

Comments

The Switching event occurs when the current tab page is about to change.

While the Switching event is processed, many properties and methods cannot be used. The Switching event must be allowed to complete before these methods and properties can be used.

The Switched event follows the Switching event, indicating completion of the Switching event. The Switched event occurs even if the Switching event canceled tab switching by setting SwitchingEventArgs.Allow to False.

If a disabled tab is clicked by the end user, the SwitchingDisabled event occurs instead of the Switching event.


Feedback / comments / error reports for this topic
© 2007 - Softel vdm, Inc. - www.softelvdm.com